home *** CD-ROM | disk | FTP | other *** search
- Path: news.tau.ac.il!usenet
- From: Avi Lev <avil@sapiens.com>
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Mouse Help needed!
- Date: Mon, 26 Feb 1996 16:05:08 +0200
- Organization: Sapiens Technologies
- Message-ID: <3131BE14.7EEB@sapiens.com>
- References: <4gk4vh$krs@serra.unipi.it>
- NNTP-Posting-Host: honda.sapiens.co.il
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0 (WinNT; I)
-
- Roberto Rocco_angeloni wrote:
- >
- > I'd like to know if there is a way to move the mouse pointer via software
- > using screen or window structures (also any other way is welcome).
- >
- > Thanks,
- > Roberto.sure there is...you'll have to get the input.device to help you
- here by posting a fake mouse move message which will fool the
- mouse handler into thinking that the mouse actually moved even
- though it hasn't and therefore it'll move the pointer any way
- you want it, i don't really remember the specifics on how to
- implement it although i did use it once for some demos i did
- and it's really quite easy. don't forget to give it signed
- offsets the way the mouse really works and not absolute
- coordinates. sounds complex eh, well ain't the amiga a great
- machine or what!
-